package 设计模式.AbstractFactory;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        DellFactory dellFactory = new DellFactory();
        dellFactory.makePowerSupply();
        dellFactory.makeComputer();
        HpFactory hpFactory = new HpFactory();
        hpFactory.makePowerSupply();
        hpFactory.makeComputer();
    }
}
